package com.itemDevelop.items.itemTest.grid.service;

import javax.annotation.Resource;

import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Transactional;

import com.itemDevelop.items.itemTest.grid.entity.Grid;
import com.itemDevelop.items.itemTest.grid.repository.GridDao;

@Component
@Transactional
public class GridService {
	@Resource
	private GridDao gridDao;
	
	public Grid getGridById(Long id){
		return gridDao.findById(id);
	}
}
